// import modes, { Modes } from "@/ecjrts/mode";

import { ModsInstance } from "@/func/createMod";
const isDev = import.meta.env.DEV;
export interface DeviceConfig {
  logicName: string;
  mode: string;
  timeout: number;
  deviceName: keyof ModsInstance;
}

const config: DeviceConfig[] = [
  {
    logicName: "IDCardReader",
    mode: "IdCard",
    timeout: 90000,
    deviceName: "IdCard",
  },
  {
    logicName: "BCR310",
    mode: "Bcr",
    timeout: 90000,
    deviceName: "bcr",
  },
  {
    logicName: "StatementPrinter",
    mode: "A4",
    timeout: 90000,
    deviceName: "a4",
  },
  {
    logicName: "ReceiptPrinter",
    mode: "Prr",
    timeout: 90000,
    deviceName: "prr",
  },
  {
    logicName: "HighCamera",
    mode: "Cam",
    timeout: 90000,
    deviceName: "cam",
  },
  {
    logicName: "Camera",
    mode: "Cam",
    timeout: 90000,
    deviceName: "face",
  },
  {
    logicName: "Encryptor",
    mode: "Pin",
    timeout: 90000,
    deviceName: "pin"
  },
  {
    logicName: "FingerPrinter",
    mode: "Fpc",
    timeout: 90000,
    deviceName: "fpc"
  },
];

export default config;
